home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / July 96 / RFC - Newlines < prev    next >
Encoding:
Internet Message Format  |  1996-07-15  |  855 b   |  [TEXT/ttxt]

  1. Subject:     RFC - Newlines
  2. Sent:        7/11/96 7:10 PM
  3. Received:    7/11/96 6:21 PM
  4. From:        john paulson, paulson3@apple.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8.  
  9.   ODF is a cross-platform framework.  One bit of cross-platform 
  10. awkwardness is the 
  11. treatment of '\n'.  Currently, the MW PPC projects are compiled with the 
  12. flag 
  13. "MPW Newlines" off.  This means that if you wish to have an end-of-line 
  14. character, 
  15. you must use the '\r' character.  If you move the source code to Windows 
  16. (or OS/2) 
  17. you will have to replace the '\r' with '\n' (or '\r\n', if you have a 
  18. more primitive 
  19. compiler).  It also means that ODFRC must be built with MPW Newlines off.
  20.  
  21.   Unless spirited discussion ensues, the R2 projects will be built with 
  22. MPW Newlines
  23. on.  
  24.